package com.ruoyi.cloudpc.mapper;

import com.ruoyi.cloudpc.domain.CloudWithdrawal;

import java.util.List;

/**
 * 提现记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-20
 */
public interface CloudWithdrawalMapper 
{
    /**
     * 查询提现记录
     * 
     * @param id 提现记录主键
     * @return 提现记录
     */
    public CloudWithdrawal selectCloudWithdrawalById(String id);

    /**
     * 查询提现记录列表
     * 
     * @param cloudWithdrawal 提现记录
     * @return 提现记录集合
     */
    public List<CloudWithdrawal> selectCloudWithdrawalList(CloudWithdrawal cloudWithdrawal);

    /**
     * 新增提现记录
     * 
     * @param cloudWithdrawal 提现记录
     * @return 结果
     */
    public int insertCloudWithdrawal(CloudWithdrawal cloudWithdrawal);

    /**
     * 修改提现记录
     * 
     * @param cloudWithdrawal 提现记录
     * @return 结果
     */
    public int updateCloudWithdrawal(CloudWithdrawal cloudWithdrawal);

    /**
     * 删除提现记录
     * 
     * @param id 提现记录主键
     * @return 结果
     */
    public int deleteCloudWithdrawalById(String id);

    /**
     * 批量删除提现记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCloudWithdrawalByIds(String[] ids);
}
